Release 10.1A: OpenEdge Development:
ADM Reference
displayFields
Procedure that displays the current row values by moving them to the viewer’s frame screen-values.
Location: viewer.p Parameters:INPUTpcColValuesAS CHARACTERCHR(1)-delimited list of the STRING–VALUEs of the requested columns; the first value of this list is the RowIdent value of the corresponding record to be displayed.
Notes:
- The pcColValues input parameter contains the field values to be displayed in the SmartDataViewer.
- displayFields is invoked from resetRecord, cancelRecord, copyRecord, addRecord, and from dataAvailable when the data source has a new row.
- displayFields runs displayObjects to display values for nondatabase-related fields.
- When a field is a SmartObject itself (for example, a SmartField object), setDataValue is invoked in the SmartObject to set its value.
Examples:- No RowObject record is available in a SmartDataViewer, so a customization of displayFields cannot refer to the RowObject buffer. You can use the colValues function to access a list of column values from the Viewer’s SmartDataObject if needed, or the columnStringValue function can return the formatted value of a particular field.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |